import { URI } from "@/services/api";
import { request, METHOD } from "@/utils/request";



export async function toDLJ(from) {
    return request(`${URI}/agv/ToDLJ?from=${from}`, METHOD.POST);
}

export async function run(from, to) {
    return request(`${URI}/agv/run?from=${from}&to=${to}`, METHOD.POST);
}

export default {
    toDLJ,
    run
};
